package me.zhengjie.modules.enrstu.service.mapstruct;

import me.zhengjie.base.BaseMapper;
import me.zhengjie.modules.enrstu.domain.Manage;
import me.zhengjie.modules.enrstu.service.dto.ManageDto;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

import java.util.List;

@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface ManageMapper extends BaseMapper<ManageDto, Manage> {

    ManageDto toDto(Manage entity);

    List<ManageDto> toDto(List<Manage> entityList);
}